package cn.lanqiao.book.pojo;

public class User {
    private int u_id;
    private String u_username;
    private String u_password;
    private String u_email;
    private int u_sex;
    private String  u_qq;
    private String u_pweb;
    private int u_type;

    public User( String u_username, String u_password, String u_email, int u_sex, String u_qq, String u_pweb) {
        this.u_username = u_username;
        this.u_password = u_password;
        this.u_email = u_email;
        this.u_sex = u_sex;
        this.u_qq = u_qq;
        this.u_pweb = u_pweb;
        this.u_type=1;
    }

    public User(int u_id, String u_username, String u_password, String u_email, int u_sex, String u_qq, String u_pweb, int u_type) {
        this.u_id = u_id;
        this.u_username = u_username;
        this.u_password = u_password;
        this.u_email = u_email;
        this.u_sex = u_sex;
        this.u_qq = u_qq;
        this.u_pweb = u_pweb;
        this.u_type = u_type;
    }

    public User() {
    }

    @Override
    public String toString() {
        return "User{" +
                "u_id=" + u_id +
                ", u_username='" + u_username + '\'' +
                ", u_password='" + u_password + '\'' +
                ", u_email='" + u_email + '\'' +
                ", u_sex=" + u_sex +
                ", u_qq='" + u_qq + '\'' +
                ", u_pweb='" + u_pweb + '\'' +
                ", u_type=" + u_type +
                '}';
    }

    public int getU_id() {
        return u_id;
    }

    public void setU_id(int u_id) {
        this.u_id = u_id;
    }

    public String getU_username() {
        return u_username;
    }

    public void setU_username(String u_username) {
        this.u_username = u_username;
    }

    public String getU_password() {
        return u_password;
    }

    public void setU_password(String u_password) {
        this.u_password = u_password;
    }

    public String getU_email() {
        return u_email;
    }

    public void setU_email(String u_email) {
        this.u_email = u_email;
    }

    public int getU_sex() {
        return u_sex;
    }

    public void setU_sex(int u_sex) {
        this.u_sex = u_sex;
    }

    public String getU_qq() {
        return u_qq;
    }

    public void setU_qq(String u_qq) {
        this.u_qq = u_qq;
    }

    public String getU_pweb() {
        return u_pweb;
    }

    public void setU_pweb(String u_pweb) {
        this.u_pweb = u_pweb;
    }

    public int getU_type() {
        return u_type;
    }

    public void setU_type(int u_type) {
        this.u_type = u_type;
    }
}
